:: %1 is the folder contains pictures
"%~d0%~p0\..\bin\exiftool.exe" -if "not $dateTimeOriginal" "-FileModifyDate>DateTimeOriginal" %1